package my.binlog;

import com.github.shyiko.mysql.binlog.event.Event;

public class BinLogItem {

    public final String database;
    public final String tableName;
    public final Event event;

    public BinLogItem(String database, String tableName, Event event) {
        this.database = database;
        this.tableName = tableName;
        this.event = event;
    }

    @Override
    public String toString() {
        return "BinLogItem{database=" + database + ", tableName=" + tableName + ", event=" + event.toString() + "}";
    }
}
